package pingji.controller.login;

import lombok.Data;
import pingji.pojo.ResponseUser;

@Data
public class LoginResponse {
    public LoginResponse() {
    }

    public LoginResponse(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public LoginResponse(int code, String message, int id) {
        this.code = code;
        this.message = message;
        this.id = id;
    }

    //0表示正常，1表示错误
    public int code;
    //错误表述
    public String message;

    public int id;
}
